package com.liyang.springcloud.service;

import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;

public interface AccountService {

    /**
     * @description: 账户金额减扣
     * @author: liyang
     * @date: 2024/1/10 11:19
     * @param: userId 账户
     * @param: money 金额
     **/
    void decrease(@RequestParam("userId") Long userId, @RequestParam("money") BigDecimal money);
}
